package com.yunupmall.mapper.commoditymapper;


import com.yunupmall.entity.admin.commoditypojo.Adminusers;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface LoginMapper {
    @Select("select * from adminuser where username=#{user} and password=#{pass}")
    List<Adminusers> getUserData(@Param("user") String user, @Param("pass") String pass);
}
